<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>sock: sock::http Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">sock
   &#160;<span id="projectnumber">v0.11</span>
   </div>
   <div id="projectbrief">C++ Network Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesock.html">sock</a></li><li class="navelem"><a class="el" href="namespacesock_1_1http.html">http</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">sock::http Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_buffer.html">HttpBuffer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">缓存类，在响应中存数数据  <a href="classsock_1_1http_1_1_http_buffer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_request.html">HttpRequest</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP请求  <a href="classsock_1_1http_1_1_http_request.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_request_factory.html">HttpRequestFactory</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">请求工厂  <a href="classsock_1_1http_1_1_http_request_factory.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_request_parser.html">HttpRequestParser</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP请求解析器  <a href="classsock_1_1http_1_1_http_request_parser.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_response.html">HttpResponse</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP响应  <a href="classsock_1_1http_1_1_http_response.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_server.html">HttpServer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP服务器  <a href="classsock_1_1http_1_1_http_server.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_session.html">HttpSession</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP Session.  <a href="classsock_1_1http_1_1_http_session.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_session_factory.html">HttpSessionFactory</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Session工厂  <a href="classsock_1_1http_1_1_http_session_factory.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a4e8d5223a27396b63f6a4d96d9f2572b"><td class="memItemLeft" align="right" valign="top">typedef boost::shared_ptr&lt; <a class="el" href="classsock_1_1http_1_1_http_buffer.html">HttpBuffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesock_1_1http.html#a4e8d5223a27396b63f6a4d96d9f2572b">HttpBufferPtr</a></td></tr>
<tr class="separator:a4e8d5223a27396b63f6a4d96d9f2572b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc368575f73a91496777e7268d6e9041"><td class="memItemLeft" align="right" valign="top">typedef boost::shared_ptr&lt; <a class="el" href="classsock_1_1http_1_1_http_request.html">HttpRequest</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesock_1_1http.html#abc368575f73a91496777e7268d6e9041">HttpRequestPtr</a></td></tr>
<tr class="separator:abc368575f73a91496777e7268d6e9041"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a109e52a7c286a1054ad5fe134a97ec09"><td class="memItemLeft" align="right" valign="top">typedef boost::shared_ptr&lt; <a class="el" href="classsock_1_1http_1_1_http_request_factory.html">HttpRequestFactory</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesock_1_1http.html#a109e52a7c286a1054ad5fe134a97ec09">HttpRequestFactoryPtr</a></td></tr>
<tr class="separator:a109e52a7c286a1054ad5fe134a97ec09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10bd924b8a80c730376bfab54559cbcf"><td class="memItemLeft" align="right" valign="top">typedef boost::shared_ptr&lt; <a class="el" href="classsock_1_1http_1_1_http_request_parser.html">HttpRequestParser</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesock_1_1http.html#a10bd924b8a80c730376bfab54559cbcf">HttpRequestParserPtr</a></td></tr>
<tr class="separator:a10bd924b8a80c730376bfab54559cbcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e8d565c94861f483cae82faa5d90ac8"><td class="memItemLeft" align="right" valign="top">typedef boost::shared_ptr&lt; <a class="el" href="classsock_1_1http_1_1_http_response.html">HttpResponse</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesock_1_1http.html#a1e8d565c94861f483cae82faa5d90ac8">HttpResponsePtr</a></td></tr>
<tr class="separator:a1e8d565c94861f483cae82faa5d90ac8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4779c595b36bc7b552e6558880c29f95"><td class="memItemLeft" align="right" valign="top">typedef boost::shared_ptr&lt; <a class="el" href="classsock_1_1http_1_1_http_session.html">HttpSession</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesock_1_1http.html#a4779c595b36bc7b552e6558880c29f95">HttpSessionPtr</a></td></tr>
<tr class="separator:a4779c595b36bc7b552e6558880c29f95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab40d42e06f9b067d13943821f928e62e"><td class="memItemLeft" align="right" valign="top">typedef boost::shared_ptr&lt; <a class="el" href="classsock_1_1http_1_1_http_session_factory.html">HttpSessionFactory</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesock_1_1http.html#ab40d42e06f9b067d13943821f928e62e">HttpSessionFactoryPtr</a></td></tr>
<tr class="separator:ab40d42e06f9b067d13943821f928e62e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:aa260534fb759e974d6fcc1477015b9c0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesock_1_1http.html#aa260534fb759e974d6fcc1477015b9c0">RequestMethod</a> { <a class="el" href="namespacesock_1_1http.html#aa260534fb759e974d6fcc1477015b9c0a99862211568c7d30ec2803c61ce5cc23">GET</a>
 }<tr class="memdesc:aa260534fb759e974d6fcc1477015b9c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP请求方式  <a href="namespacesock_1_1http.html#aa260534fb759e974d6fcc1477015b9c0">More...</a><br /></td></tr>
<tr class="separator:aa260534fb759e974d6fcc1477015b9c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</td></tr>
<tr class="memitem:ac5e7c0dc7506cb150c803b1e52020020"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesock_1_1http.html#ac5e7c0dc7506cb150c803b1e52020020">ConnectionState</a> { <a class="el" href="namespacesock_1_1http.html#ac5e7c0dc7506cb150c803b1e52020020accd2a6a98b1bb86124ff5eec7d3ecc2e">CLOSE</a>, 
<a class="el" href="namespacesock_1_1http.html#ac5e7c0dc7506cb150c803b1e52020020ae04a4298a44baf9388f0b45697e8d6fe">KEEP_ALIVE</a>
 }<tr class="memdesc:ac5e7c0dc7506cb150c803b1e52020020"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接状态  <a href="namespacesock_1_1http.html#ac5e7c0dc7506cb150c803b1e52020020">More...</a><br /></td></tr>
<tr class="separator:ac5e7c0dc7506cb150c803b1e52020020"><td class="memSeparator" colspan="2">&#160;</td></tr>
</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a4e8d5223a27396b63f6a4d96d9f2572b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::shared_ptr&lt;<a class="el" href="classsock_1_1http_1_1_http_buffer.html">HttpBuffer</a>&gt; <a class="el" href="namespacesock_1_1http.html#a4e8d5223a27396b63f6a4d96d9f2572b">sock::http::HttpBufferPtr</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a109e52a7c286a1054ad5fe134a97ec09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::shared_ptr&lt;<a class="el" href="classsock_1_1http_1_1_http_request_factory.html">HttpRequestFactory</a>&gt; <a class="el" href="namespacesock_1_1http.html#a109e52a7c286a1054ad5fe134a97ec09">sock::http::HttpRequestFactoryPtr</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a10bd924b8a80c730376bfab54559cbcf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::shared_ptr&lt;<a class="el" href="classsock_1_1http_1_1_http_request_parser.html">HttpRequestParser</a>&gt; <a class="el" href="namespacesock_1_1http.html#a10bd924b8a80c730376bfab54559cbcf">sock::http::HttpRequestParserPtr</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="abc368575f73a91496777e7268d6e9041"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::shared_ptr&lt;<a class="el" href="classsock_1_1http_1_1_http_request.html">HttpRequest</a>&gt; <a class="el" href="namespacesock_1_1http.html#abc368575f73a91496777e7268d6e9041">sock::http::HttpRequestPtr</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1e8d565c94861f483cae82faa5d90ac8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::shared_ptr&lt;<a class="el" href="classsock_1_1http_1_1_http_response.html">HttpResponse</a>&gt; <a class="el" href="namespacesock_1_1http.html#a1e8d565c94861f483cae82faa5d90ac8">sock::http::HttpResponsePtr</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab40d42e06f9b067d13943821f928e62e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::shared_ptr&lt;<a class="el" href="classsock_1_1http_1_1_http_session_factory.html">HttpSessionFactory</a>&gt; <a class="el" href="namespacesock_1_1http.html#ab40d42e06f9b067d13943821f928e62e">sock::http::HttpSessionFactoryPtr</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a4779c595b36bc7b552e6558880c29f95"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::shared_ptr&lt;<a class="el" href="classsock_1_1http_1_1_http_session.html">HttpSession</a>&gt; <a class="el" href="namespacesock_1_1http.html#a4779c595b36bc7b552e6558880c29f95">sock::http::HttpSessionPtr</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ac5e7c0dc7506cb150c803b1e52020020"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacesock_1_1http.html#ac5e7c0dc7506cb150c803b1e52020020">sock::http::ConnectionState</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>连接状态 </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ac5e7c0dc7506cb150c803b1e52020020accd2a6a98b1bb86124ff5eec7d3ecc2e"></a>CLOSE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac5e7c0dc7506cb150c803b1e52020020ae04a4298a44baf9388f0b45697e8d6fe"></a>KEEP_ALIVE&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="aa260534fb759e974d6fcc1477015b9c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacesock_1_1http.html#aa260534fb759e974d6fcc1477015b9c0">sock::http::RequestMethod</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HTTP请求方式 </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aa260534fb759e974d6fcc1477015b9c0a99862211568c7d30ec2803c61ce5cc23"></a>GET&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>
